<!-- <p>template-var works!</p> -->
<h1>模板变量</h1>
<p #pdom>dom变量1</p>
<!-- <p #pdom>dom变量2</p>
<p #pdom>dom变量3</p> -->
<p>pdom:{{pdom}}</p>
<input type="button" value="输出模板变量dom" (click)="getPdom(pdom,this)">
<hr>

<div class="swiper-container" #loop>
    <div class="swiper-wrapper">
        <div class="swiper-slide">slider1</div>
        <div class="swiper-slide">slider2</div>
        <div class="swiper-slide">slider3</div>
    </div>
</div>
<input type="button" value="打印Loop" (click)="printLoop()">
<input type="button" value="初始化swiper" (click)="initSwiper()">